package com.butang.mapper;

import com.butang.pojo.OperateLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * ClassName: OperateLogMapper
 * Package: com.butang.mapper
 * Description:
 *
 * @Author BuTang
 * @Create 2023/7/18 17:51
 * @Version 1.0
 */
@Mapper
public interface OperateLogMapper {
    @Insert("insert into management.operate_log (id, operate_user, operate_time, " +
            "class_name, method_name, method_params, return_value, cost_time) " +
            "values ( #{id},#{operateUser},#{operateTime},#{className},#{methodName},#{methodParams},#{returnValue},#{costTime})")
    void operateInsert(OperateLog operateLog);
}
